﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace APH.Parl2.Contracts
{
    [ServiceContract]
    public interface IPublishEvents
    {
        [OperationContract(IsOneWay = true)]
        void OnPublished(Guid documentId);
    }

    [ServiceContract(CallbackContract=typeof(IPublishEvents))]
    public interface IPublishSubscriptionService : ISubscriptionService
    {
    }
}
